class Student:
    def __init__(self, name=None, age=None, gender=None, height=None, weight=None, score=None,
                 address=None, phone_number=None):
        self.name = name
        self.age = age
        self.gender = gender
        self.height = height
        self.weight = weight
        self.score = score
        self.address = address
        self.phone_number = phone_number

    def get_name(self):
        return self.name

    def get_age(self):
        return self.age

    def get_gender(self):
        return self.gender

    def get_height(self):
        return self.height

    def get_weight(self):
        return self.weight

    def get_score(self):
        return self.score

    def get_address(self):
        return self.address

    def get_phone_number(self):
        return self.phone_number

    def set_name(self, name):
        self.name = name

    def set_age(self, age):
        self.age = age

    def set_gender(self, gender):
        self.gender = gender

    def set_height(self, height):
        self.height = height

    def set_weight(self, weight):
        self.weight = weight

    def set_score(self, score):
        self.score = score

    def set_address(self, address):
        self.address = address

    def set_phone_number(self, phone_number):
        self.phone_number = phone_number

    def study(self, time: int):
        print(f'{self.name} study for {time} seconds')

    def play(self, game: str):
        print(f'{self.name} 玩游戏： {game}')

    def code(self, number: int):
        print(f'{self.name} 编写代码 {number} 行')

    @staticmethod
    def sum(*number):
        if len(number) == 0:
            return 0
        return sum(number)


